package com.ruoyi.seal.mapper;

import java.util.List;
import com.ruoyi.seal.domain.SealType;

/**
 * 用印类型Mapper接口
 *
 * @author ruoyi
 * @date 2022-08-30
 */
public interface SealTypeMapper
{
    /**
     * 查询用印类型
     *
     * @param sealTypeId 用印类型主键
     * @return 用印类型
     */
    public SealType selectSealTypeBySealTypeId(Long sealTypeId);

    /**
     * 查询用印类型列表
     *
     * @param sealType 用印类型
     * @return 用印类型集合
     */
    public List<SealType> selectSealTypeList(SealType sealType);

    /**
     * 新增用印类型
     *
     * @param sealType 用印类型
     * @return 结果
     */
    public int insertSealType(SealType sealType);

    /**
     * 修改用印类型
     *
     * @param sealType 用印类型
     * @return 结果
     */
    public int updateSealType(SealType sealType);

    /**
     * 删除用印类型
     *
     * @param sealTypeId 用印类型主键
     * @return 结果
     */
    public int deleteSealTypeBySealTypeId(Long sealTypeId);

    /**
     * 批量删除用印类型
     *
     * @param sealTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSealTypeBySealTypeIds(Long[] sealTypeIds);
}
